package com.amos.muexamclient.sys.service;

import com.amos.muexamclient.sys.service.dto.SysUserDTO;
import com.amos.muexamcore.core.BasePageService;

/**
 * Copyright © 2018 五月工作室. All rights reserved.
 *
 * @Package com.amos.muexamclient.sys.service
 * @ClassName SysUserService
 * @Description TODO
 * @Author Amos
 * @Modifier
 * @Date 2020-03-21 22:08:15
 * @Version 1.0
 **/
public interface SysUserService extends BasePageService<SysUserDTO> {
    /**
     * 通过用户名查询记录
     *
     * @param username
     * @return
     */
    SysUserDTO getByUsername(String username);

    String selectUserRoleGroup(String id);

    String selectUserPostGroup(String id);

    void resetPassword(String id, String newPassword);

    int resetPwd(SysUserDTO user);

    int deleteUserByIds(String[] userIds);
}
